﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Sys;
using Benefit.Models.Month;
namespace Benefit.Interface.Month
{
    /// <summary>
    /// 公司月总计
    /// </summary>
    public interface ICompanyMonthSum
    {

        /// <summary>
        /// 保存日均值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitCompanyMonthSum(int year, int month);


        /// <summary>
        /// 获取公司日总值
        /// </summary>
        /// <param name="accountid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <returns></returns>
        CompanyMonthSum GetCompanyMonthSum(int month, int year);

        void Delete(int year, int month);

        /// <summary>
        /// 获取公司日总值
        /// </summary>
        /// <param name="accountid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <returns></returns>
        List<CompanyMonthSum> GetCompanyMonthSum(int year);
    }
}
